# -*- coding: UTF-8 -*-
'''
@author: TangRen
@time: 2021/3/20
@file: TaskSerializers.py
@desc: 

'''
from rest_framework import serializers

from visitApi.models import Interview
from visitApi.serializers.CustomerSerializers import CustomerSerializers


class InterviewSerializers(serializers.ModelSerializer):
    customer=CustomerSerializers()
    class Meta:
        model=Interview
        exclude = ('id',)



class SaveInterviewSerializers(serializers.ModelSerializer):
    class Meta:
        model = Interview
        fields = '__all__'
